Total Complexity | 31 |
Dependencies | 4 |
Dependents | 0 |
Total lines | 386 |
Lines of code | 254 |
Logical lines of code | 74 |
Comment lines | 84 |
Methods | 10 |
Properties | 3 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
getAvailableAccommodations() | 44 | 5 | 44 | |
get_item_schema() | 39 | 1 | 84 | |
prepare_links() | 51 | 4 | 31 | |
get_item() | 54 | 4 | 20 | |
filterAccommodationsByRules() | 57 | 4 | 17 | |
filterAccommodationsByCapacity() | 62 | 5 | 10 | |
filterAccommodationsByRates() | 60 | 3 | 13 | |
prepare_item_for_response() | 56 | 2 | 16 | |
get_item_permissions_check() | 67 | 2 | 8 | |
register_routes() | 63 | 1 | 11 |